package de.godlike.services.internal.dataTypes;

import java.util.Date;

/**
 * This class represents a single logEntry with all of its information.
 * 
 * @author asmodaeus
 * 
 */
public class LogEntry {
	/**
	 * date of this logEntry
	 */
	private Date logDate;
	/**
	 * logLevel of this logEntry
	 */
	private String logLevel;
	/**
	 * Java-Class that made this logEntry
	 */
	private String logClass;
	/**
	 * the detailed logMessage of this logEntry
	 */
	private String logMessage;

	/**
	 * 
	 */
	public LogEntry() {
		super();
	}

	/**
	 * @param logDate
	 * @param logLevel
	 * @param logClass
	 * @param logMessage
	 */
	public LogEntry(Date logDate, String logLevel, String logClass,
			String logMessage) {
		super();
		this.logDate = logDate;
		this.logLevel = logLevel;
		this.logClass = logClass;
		this.logMessage = logMessage;
	}

	/**
	 * @return the logDate
	 */
	public Date getLogDate() {
		return this.logDate;
	}

	/**
	 * @param logDate
	 *            the logDate to set
	 */
	public void setLogDate(Date logDate) {
		this.logDate = logDate;
	}

	/**
	 * @return the logLevel
	 */
	public String getLogLevel() {
		return this.logLevel;
	}

	/**
	 * @param logLevel
	 *            the logLevel to set
	 */
	public void setLogLevel(String logLevel) {
		this.logLevel = logLevel;
	}

	/**
	 * @return the logClass
	 */
	public String getLogClass() {
		return this.logClass;
	}

	/**
	 * @param logClass
	 *            the logClass to set
	 */
	public void setLogClass(String logClass) {
		this.logClass = logClass;
	}

	/**
	 * @return the logMessage
	 */
	public String getLogMessage() {
		return this.logMessage;
	}

	/**
	 * @param logMessage
	 *            the logMessage to set
	 */
	public void setLogMessage(String logMessage) {
		this.logMessage = logMessage;
	}

}
